package com.share.finance.risk.rules.model.translate.ifs;

import io.swagger.annotations.ApiParam;
import lombok.Data;

import java.util.List;

//一个运算的表达式
@Data
public class LineExpress {
    @ApiParam("条件连接符 &&,||,")
    private String type;

    @ApiParam("左边参数")
    private ParamItem left;

    @ApiParam("右边参数")
    private ParamItem right;

    @ApiParam("运算符号 >=, ==, =, <,<=")
    private String operator;

    //嵌套条件
    private List<LineExpress> fields;
}
